/*
 * @Author: 吴让坤
 * @Date: 2023-03-18 17:07:00
 * @LastEditTime: 2023-03-18 17:41:10
 * @Description: uno配置
 */
import {
  defineConfig,
  presetAttributify,
  presetUno,
  transformerDirectives,
} from 'unocss'

export default defineConfig({
  rules: [
    [/^line-height-(.+)$/, ([, d]) => ({ 'line-height': `${+d / 4}rem` })],
  ],
  shortcuts: [
  ],
  presets: [
    presetUno(),
    presetAttributify(),
  ],
  transformers: [
    transformerDirectives(),
    // transformerVariantGroup(),
  ],
})
